package com.tiancheng.trade.settlement.model.settlement;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tiancheng.trade.settlement.enums.CostTypeEnum;
import com.tiancheng.trade.settlement.model.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 费用类型关联配置
 *
 * @author chris.shao
 * @since 2024/4/20
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("settlement_pay_acct_config")
public class SettlementPayAcctConfig extends BaseEntity {

    /**
     * 支付渠道
     *
     * @see com.tiancheng.trade.settlement.enums.PaymentChannelEnum
     */
    private String payChannel;

    /**
     * 费用类型：PL-平台应收，ME-商户应收，CU-营销金额，SC-手续费
     *
     * @see CostTypeEnum
     */
    private String costType;

    /**
     * 付款银行账户
     */
    private String payAcct;

    /**
     * 付款银行账号
     */
    private String payAcctName;

    /**
     * 收款银行账户
     */
    private String colAcct;

    /**
     * 收款银行账号
     */
    private String colAcctName;

    /**
     * 0有效，1已删除
     */
    private Integer isDelete;

    /**
     * 备注
     */
    private String remark;


    @TableField(exist = false)
    private String payChannelCn;

    @TableField(exist = false)
    private String dataTypeCn;

}